<script>
export default {
  name: "Index"
}
</script>

<template>
<div id="container">
  <nav>
    <router-link to="/home/student">学生信息管理</router-link> |
    <router-link to="/dataScreen">数据可视化</router-link>
  </nav>
  <hr>
<!--  二级路由出口-->
  <router-view></router-view>
</div>
</template>

<style scoped>

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}
nav a.router-link-exact-active {
  color: #42b983;
}
</style>